package com.pj.service;

import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter;

import java.util.List;
import java.util.Map;

public interface RagFlowChatService {

    List<Map<String,Object>> addChat(String RagFlowApi, Map<String, Object> requestBody);

    List<Map<String, Object>> listChat(String RagFlowApi);

    Map<String, Object> chat(String RagFlowApi, Map<String, Object> requestBody);

    void chatStream(String ragFlowApi, String question, String sessionId, ResponseBodyEmitter emitter);

}
